<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>OA账户绑定</title>
	<meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta name="description" content="">
	<meta name="author" content="" />

<link rel="stylesheet" href="/css/theme/bootstrap.min.css" type="text/css" />	
<link rel="stylesheet" href="/css/theme/App.css" type="text/css" />
<link rel="stylesheet" href="/css/theme/Login.css" type="text/css" />
<script type="text/javascript" src="/javascript/theme/libs/jquery-1.9.1.min.js"></script>

<script type="text/javascript">
	function check(){
		flag = true;
		var username = $("#username").val();
		var pwd = $("#pwd").val();
		if(username == ""){
			alert("请输入用户名");
			flag = false;
		}else if(pwd == ""){
			alert("请输入密码");
			flag = false;
		}
		return flag;
	}
</script>
</head>

<body>

<div id="login-container">

	<div id="login">

		<h3>请输入原商业数据分析系统账户密码,与OA账户进行校验绑定。</h3>

		<form id="login-form"  name="login-form" class="form" action="${__beat.server.contextPath}/oacheck" method="post" onsubmit="return check();">
			<input type="hidden" name="message" id="message" value="$!{message}"/>
			<input type="hidden" name="oausername" id="oausername" value="$!{oausername}"/>
			</br>
			<div class="form-group">
				<label for="login-username"></label>
				<input type="text" class="form-control" id="username" name="username" placeholder="用户名">
			</div>

			</br>
			<div class="form-group">
				<label for="login-password"></label>
				<input type="password" class="form-control" id="pwd" name="pwd" placeholder="密码">
			</div>

			<div class="form-group">
				<button type="submit" id="login-btn" class="btn btn-primary btn-block">绑定&nbsp; <i class="fa fa-play-circle"></i></button>
			</div>
		</form>
		
		
          <script > 
          		var message = $("#message").val();
          		if(message != ""){
        			alert(message);
        		}
          </script>
	</div>

	<a href="javascript:;" id="signup-btn" class="btn btn-lg btn-block">
		忘记密码？绑定账户有问题？请RTX与huangliang联系。
		</br>
        <span style="color:red;">
			请注意：
			</BR>
			此处是输入原商业数据分析系统账户密码

		</span>
	</a>


</div> <!-- /#login-container -->


</body>
</html>